﻿function ToSearch(name) {
    var key = escape(document.getElementById('search1').value);
    window.location.href = 'eGoldSearch.aspx?col=' + name + '&key=' + key + '&date1=' + document.getElementById('date1').value + '&date2=' + document.getElementById('date2').value;
}
